# -*- coding: utf-8 -*-
print('包含中文的str')
print(ord('A'))
print('嗷嗷嗷'.encode('utf-8'))
print(b'\xe4\xb8\xad\xe6\x96\x87'.decode('utf-8'))

classmates = ['aaa', 'bbb', 'cccc']
classmates.append('ddd')
classmates.insert(1, 'hahaha')
classmates.pop(0)
classmates[1] = 'biubiu'
print(classmates)
print(len(classmates))
print(classmates[0])
print(classmates[-2])

list1 = ['aa', 'bb', 'cc', 'cc']
list2 = [1, 2, 3, 4, 3, ]
s1 = set(list2)
print(s1)
s2 = set([1, 2, 3, 4])
s3 = set([3, 4, 5])
print(s2)
print(s2 & s3)
print(type(s1))
